package com.qfedu.hotelssm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author mk
 * @date 2022/8/28  20:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Passengers {
    @ExcelIgnore
    private int id;
    private String name;
    private String idnumber;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")//接收
    private Date ctime ;
    private int rid;
    private String rname;



}
